﻿using System;
using System.Runtime.Serialization;
using NCMIS.ObjectModel.MetaData;

namespace NCMIS.ObjectModel
{
    /// <summary>
    /// An array of CMIS objects. 
    /// </summary>
    [DataContract(Namespace = CmisNs.Cmism)]
    public class CmisObjectList
    {
        [DataMember(Name = "objects")]
        public CmisObject[] Objects
        {
            get;
            set;
        }

        [DataMember(Name = "hasMoreItems")]
        public bool HasMoreItems
        {
            get;
            set;
        }

        [DataMember(Name = "numItems")]
        public string NumItems
        {
            get;
            set;
        }

    }
}
